
# 5.列表的比较
#导入 operator 模块
import operator

n1 = [1, 2, 3, 4]
n2 = [1, 2, 3, 4]
n3 = [2, 3, 7, 8]
print ('n1 == n2: ',operator.eq(n1, n2))
print ('n1 == n3: ',operator.eq(n1, n3))
